home *** CD-ROM | disk | FTP | other *** search
/ Nothing but Tetris / Nothing but Tetris.iso / amiga / yactris / src / bruce.h < prev    next >
C/C++ Source or Header  |  1994-01-01  |  405b  |  25 lines

  1. /*
  2. **
  3. **  Bruce.h
  4. **
  5. **  generic header file
  6. **
  7. */
  8.  
  9. #define Prototype   extern
  10. #define Local        static
  11.  
  12. #define INIT_MINLIST(l) { \
  13.     (l)->mlh_Head = (struct Node *) (&(l)->mlh_Tail); \
  14.     (l)->mlh_Tail = NULL; \
  15.     (l)->mlh_TailPred = (struct Node *) (&(l)->mlh_Head); \
  16. }
  17.  
  18. #define INIT_LIST(l,t) { \
  19.     INIT_MINLIST( (struct MinList *l), t); \
  20.     (l)->lh_Type = t; \
  21. }
  22.  
  23. #include <prog_protos.h>
  24.  
  25.